package com.adaxi.adc.business.manager.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 路线及其价格信息表
 * @TableName adc-route-price
 */
@TableName(value ="adc_route_price")
@Data
public class RoutePrice implements Serializable {
    /**
     * 路线ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 线路
     */
    @TableField(value = "route")
    private Object route;

    /**
     * 路线价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 逻辑删除状态字段: 0 表示未删除, 1 表示已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}